class OscStatistics {
  int favCount;
  int view;
  int like;
  int transmit;
  int comment;

  OscStatistics({this.favCount, this.view, this.like, this.transmit, this.comment});

  OscStatistics.fromJson(Map<String, dynamic> json) {
    favCount = json['favCount'];
    view = json['view'];
    like = json['like'];
    transmit = json['transmit'];
    comment = json['comment'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['favCount'] = this.favCount;
    data['view'] = this.view;
    data['like'] = this.like;
    data['transmit'] = this.transmit;
    data['comment'] = this.comment;
    return data;
  }
}